package com.wuseguang.springcloud.controller;



import com.wuseguang.springcloud.Filter.RequestParameterWrapper;
import com.wuseguang.springcloud.service.HaiweidaCooperativeSchoolService;
import com.wuseguang.springcloud.util.Result;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 海威达合作学校 前端控制器
 * </p>
 *
 * @author 
 * @since 2020-07-02
 */
@RestController
@RequestMapping("/quartz")
public class HaiweidaCooperativeSchoolController {

    private Logger logger = LoggerFactory.getLogger(this.getClass());

    @Autowired
    private HaiweidaCooperativeSchoolService haiweidaCooperativeSchoolServiceImpl;

    /**
     * 创建海威达Cron
     * @return
     */
    @RequestMapping("/haiweidaCron")
    public Result haiweidaCron(){
        logger.info("创建海威达Cron");
        return haiweidaCooperativeSchoolServiceImpl.haiweidaCron();
    }

}

